#!/bin/sh
name="default_name"
mm=""
if [ "$1" != "" ]
then
    name=$1
    echo "Hello $name!"
else
    echo "Didn't give a name" #, using '$name'"
    echo "Usage: ./joinserver.sh player_name"
    exit	
fi

if [ "$2" != "" ]
then
    mm="-m rpc"
fi

#make #uncomment this if you want!

java -jar PRBS.jar -n $name -t client $mm gui
